home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / OGLT / Examples / ImageProcessing / src.shakib / README < prev    next >
Encoding:
Text File  |  1996-11-11  |  3.1 KB  |  84 lines

  1.                 The Roam program has been compiled and tested
  2.                on the following High and Maximum Impact systems
  3.         (and it is always preferable to run it on systems with 4 TRAMS):
  4.                    -- IRIX 5.3 All Indigo^2 IMPACT with patch 1105
  5.                                   -- IRIX 6.2 
  6.            It is expected to compile and run on the following systems 
  7.                           but has NOT BEEN TESTED:  
  8.                                -- Infinite Reality
  9.    -- Reality Engine (5.3 with OpenGL Extensions Patch 918 (successor to 154))  
  10.          The Roam binary included on v6.1 of the Developer Toolbox was
  11.             generated on an IRIX 6.2 Indigo^2 Impact system.
  12.  
  13.           In order to recompile you must install the GLUT 3.0 software, 
  14.               included on this v6.1 Toolbox, onto your own system.       
  15.                 The inst images or tardist file can be found in        
  16.  
  17.                     toolbox/src/exampleCode/opengl/GLUT/inst   
  18. /*
  19.     Author : Bob Shakib
  20.              shakib@engr.sgi.com
  21. */
  22.  
  23.  
  24. PURPOSE:
  25. ========
  26.  
  27.     IMPACT's Memory-To-Graphics high download rate enables the hardware
  28. acceleration of a variety of applications , which all need to tile their data.
  29.  
  30.     For b&w images, 60HZ roaming can be achieved by pre-interleaving the
  31. tiles and loading them as pseudo-RGBA textures (see TX_SELECT extension).
  32.  
  33.  
  34. AUTHORS's ticks :
  35. =================
  36.  
  37.     My Makefile first creates a .ofiles directory, where all the .o files go,
  38. and where the actual executable $(TARGET).EXE is generated.
  39. A $(TARGET) link is then created from the current directory to the executable.
  40.  
  41.  
  42.  
  43. Libraries :
  44. ===========
  45.  
  46.     These Examples use P.Haeberli's libimage.a
  47.     I assume these files are located under /usr/lib, and the image.h header
  48. can be found under /usr/include/gl
  49.  
  50.  
  51.  
  52. COMPILER's DIRECTIVES:
  53. ======================
  54.  
  55.  
  56.  
  57. OPENGL EXTENSIONS:
  58. ==================
  59.  
  60.  
  61.  
  62. CODE ARCHITECTURE :
  63. ===================
  64.  
  65. The code follows the basic following algorithm :
  66.  
  67. We divide the whole black&white image into tiles, which we then interleave and
  68. load into separate pseudo-RGBA texture objects. At any given time, depending on
  69. our position, we bind the relevant texture objects and select the relevant
  70. texture-channel 0, 1, 2 or 3 to constitute the currently active b&w texture.
  71. We rely on the texture manager to swap in and out the texture pages.
  72.  
  73. The pre-interleaving and pre-loading of all these textures must be done
  74. carefully, considering that the texture manager restores the textures at exactly
  75. the same TRAM-addresses as they occupied when they were defined : an example
  76. of a bad side-effect would be for a typical simulation application to first
  77. define a great number of little textures. then, because of the limited texture
  78. memory size, some textures would have to be swapped out at definition time, and
  79. then replaced by other textures, which would therefore share the same physical
  80. address : if the rendering of any frame had to involve these 2 textures, then
  81. texture-swapping would occur, even if we had freed all of the other textures.
  82.  
  83. For more information, please contact Bob Shakib - shakib@engr.sgi.com
  84.